REM Navigate to project folder
cd C:\P4Trepo\pft-bulathakimov\addressbook-selenium-tests

REM Delete groups.xml file if it does exist
if exist "C:\P4Trepo\pft-bulathakimov\addressbook-selenium-tests\groups.xml" DEL /F "C:\P4Trepo\pft-bulathakimov\addressbook-selenium-tests\groups.xml"

REM generate test data for groups
java -cp bin;C:\P4TDistr\xstream-1.4.3\lib\xstream-1.4.3.jar;C:\P4TDistr\xstream-1.4.3\lib\xstream\xpp3_min-1.1.4c.jar com.example.tests.GroupDataGenerator 3 groups.xml xml

REM Delete contacts.xml file if it does exist
if exist "C:\P4Trepo\pft-bulathakimov\addressbook-selenium-tests\contacts.xml" DEL /F "C:\P4Trepo\pft-bulathakimov\addressbook-selenium-tests\contacts.xml"

REM generate test data for contacts
java -cp bin;C:\P4TDistr\xstream-1.4.3\lib\xstream-1.4.3.jar;C:\P4TDistr\xstream-1.4.3\lib\xstream\xpp3_min-1.1.4c.jar com.example.tests.ContactDataGenerator 3 contacts.xml csv